﻿@model WebApp.Models.S_role

@{
    Layout = "~/Views/Shared/_DialogLayout.cshtml";
}
@using (Html.BeginForm("", "", FormMethod.Post, new { @class = "form-horizontal form-inline", id = "inputform" }))
{
    <div class="dialog-content">
        @Html.AntiForgeryToken()
        @Html.ValidationSummary(true, "", new { @class = "text-danger" })

        <div class="row">
            <div class="col-xs-12">
                <div class="form-horizontal">
                    <ul class="wysihtml5-toolbar">
                        <li class="toolbar-right">
                            <div class="col-xs-12 nopadding" style="width:300px;">
                                <div class="input-group nopadding">
                                    <input class="form-control" type="text" id="searchkey" data-fieldname="searchkey" placeholder="输入用户名或姓名">
                                    <span class="input-group-btn">
                                        <button id="btnquery" class="btn btn-primary" type="button"><i class="fa fa-search"></i> 查询</button>
                                    </span>
                                </div>
                            </div>
                        </li>
                        <li class="toolbar-right">
                        </li>
                    </ul>
                </div>

            </div>
        </div>
        <div data-autosize="true">
            <table id="datagrid" fit="true"></table>
        </div>
    </div>

    <div class="dialog-footer">
        <button id="btncancel" class="btn btn-small btn-default">关闭</button>
    </div>

}
@section scripts{
    <script type="text/javascript">
        var canEdit = @(ViewBag.CanEdit ? "true" : "false");
        var Roleid = "@ViewBag.Roleid";
    </script>
    <script type="text/javascript" src="~/Scripts/app/manage/roleuser.list.js?ver=@WebApp.BLL.CommonStr.Ver"></script>
}	